<template>
  <div class="app">
    <el-config-provider :locale="locale">
      <router-view />
    </el-config-provider>
  </div>
</template>

<script setup lang="ts">
  import { ref } from 'vue'
  import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
  const locale = ref(zhCn)
</script>

<style lang="scss" scoped>
  .app {
    // 避免在index.html中输入css代码, 高度宽度直接定义为100vh,100vw
    // height: 100%;
    // background-color: skyblue;
    width: 100vw;
    height: 100vh;
  }
</style>
